/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ismaila.designPatterns.structural.composite.factories;

import za.ac.cput.ismaila.designPatterns.structural.composite.Composite;
import za.ac.cput.ismaila.designPatterns.structural.composite.Leaf;

/**
 *
 * @author Chelsea
 */
public class AppFactory {

    public static Leaf createLeaf(String name) {
        return new Leaf(name);
    }

    public static Composite createComposite() {
        return new Composite();
    }
    
}
